package com.zc.pojo;

import com.zc.annotation.MyAnnotation;
import lombok.*;

/**
 * @description:
 * @author:
 * @create: 2024-01-03
 **/
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
@MyAnnotation(age = 20, name = "聪聪")
public class User {
    public String name;
    public Integer age;
    public Producer producer;

    public void hello () {
        System.out.println("hello");
    }

    public Producer cultureProducer() {
        return Producer.builder().build();
    }
}
